#pragma once

#include <stdint.h>
#include <string>

class VideoOption {
  public:
    VideoOption() {}
    void init(const char *rtsp, uint16_t port, uint32_t width, uint32_t height,
              long flag);

  public:
    const char *get_ffmepg_cmd();
    const char *get_ffmpeg_cmd_part();
    const char *get_share_path();

    uint16_t get_port();
    uint32_t get_width();
    uint32_t get_height();

  private:
    std::string ffmpeg_cmd;
    std::string ffmpeg_cmd_part;
    std::string share_path;
    uint32_t width;
    uint32_t height;
    short port;
};